import Vue from 'vue'
import App from './App'
import router from './router'
// import VueSocketio from 'vue-socket.io';
import socket from 'socket.io-client';

// Vue.use(new VueSocketio({
//   debug: true,
//   connection: 'ws://127.0.0.1:3038',
// }));
import 'common/stylus/index.styl'

Vue.config.productionTip = false
// this.$socket.io('ws://127.0.0.1:3038')
Vue.prototype.$socket = socket.io('http://127.0.0.1:3038')
// console.log(this.$socket);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
